Class com.symantec.itools.awt.CurrencyTextField
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.symantec.itools.awt.CurrencyTextField

Object
   |
   +----Component
           |
           +----TextComponent
                   |
                   +----TextField
                           |
                           +----com.symantec.itools.awt.CurrencyTextField

public class CurrencyTextField
extends TextField

Constructor Index

 o com.symantec.itools.awt.CurrencyTextField()
 o com.symantec.itools.awt.CurrencyTextField(int)
 o com.symantec.itools.awt.CurrencyTextField(String)
 o com.symantec.itools.awt.CurrencyTextField(String, int)

Method Index

 o addNotify()
This gets called when this component is added to a container.
 o cut(Clipboard)
 o format()
 o getATMmode()
 o getCurrencySymbol()
 o getDataText()
 o getDecimalPoint()
 o getDigitsAfterDecimal()
 o getSeparator()
 o isCurrencyLeading()
 o isSeparatorEnabled()
 o keyRelease(KeyEvent)
 o keyType(KeyEvent)
 o paste(Clipboard)
 o removeNotify()
This gets called when this component is removed from a container.
 o setATMmode(boolean)
 o setCurrencyLeading(boolean)
 o setCurrencySymbol(String)
 o setDecimalPoint(char)
 o setDigitsAfterDecimal(int)
 o setFormattedText(String)
 o setSeparator(char)
 o setSeparatorEnabled(boolean)

Constructors

 o CurrencyTextField
public CurrencyTextField()
 o CurrencyTextField
public CurrencyTextField(int numberOfColumns)
 o CurrencyTextField
public CurrencyTextField(String initialText)
 o CurrencyTextField
public CurrencyTextField(String initialText,
                         int numberOfColumns)

Methods

 o addNotify
public synchronized void addNotify()
This gets called when this component is added to a container. Typically, it is used to create this component's peer. It has been overridden to call addKeyListener.

Overrides:
addNotify in class TextField
See Also:
removeNotify
 o cut
public synchronized void cut(Clipboard clipboard)
 o format
public synchronized void format()
 o getATMmode
public boolean getATMmode()
 o getCurrencySymbol
public java.lang.String getCurrencySymbol()
 o getDataText
public synchronized java.lang.String getDataText()
 o getDecimalPoint
public char getDecimalPoint()
 o getDigitsAfterDecimal
public int getDigitsAfterDecimal()
 o getSeparator
public char getSeparator()
 o isCurrencyLeading
public boolean isCurrencyLeading()
 o isSeparatorEnabled
public boolean isSeparatorEnabled()
 o keyRelease
protected void keyRelease(KeyEvent e)
 o keyType
protected void keyType(KeyEvent e)
 o paste
public synchronized void paste(Clipboard clipboard)
 o removeNotify
public synchronized void removeNotify()
This gets called when this component is removed from a container. Typically, it is used to destroy the peers of this component and all its subcomponents. It has been overridden here to call removeKeyListener.

Overrides:
removeNotify in class TextComponent
See Also:
addNotify
 o setATMmode
public void setATMmode(boolean b)
 o setCurrencyLeading
public void setCurrencyLeading(boolean b)
 o setCurrencySymbol
public void setCurrencySymbol(String s)
 o setDecimalPoint
public void setDecimalPoint(char c)
 o setDigitsAfterDecimal
public void setDigitsAfterDecimal(int n)
 o setFormattedText
public synchronized void setFormattedText(String data)
 o setSeparator
public void setSeparator(char c)
 o setSeparatorEnabled
public void setSeparatorEnabled(boolean b)

All Packages  Class Hierarchy  This Package  Previous  Next  Index